package com.qf.qfarticle.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qf.qfleadnewsmodel.article.dtos.ArticleHomePageDto;
import com.qf.qfleadnewsmodel.article.pojos.ApArticle;
import com.qf.qfleadnewsmodel.commons.dtos.ResponseResult;
import com.qf.qfleadnewsmodel.wemedia.pojos.WmNews;

import java.io.IOException;

public interface ApArticleService extends IService<ApArticle> {

    /**
     * 资讯首页数据加载
     * @param articleHomePageDto
     * @return
     */
    ResponseResult load(ArticleHomePageDto articleHomePageDto);

    void saveAticle(WmNews wmNews) throws Exception;

    ResponseResult loadMoreOrNew(ArticleHomePageDto articleHomePageDto);
}
